package com.sudo.common.component;

import lombok.Data;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * author：为道日损 2020-06-21 14:49
 * webSite：https://www.sudo.ren
 */
@Slf4j
@Data
@Component
@ConfigurationProperties(RpcProperties.PREFIX)
public class RpcProperties {

    public static final String PREFIX = "rpc-fxw";

    private int registryPort = 9999;

}
